<?php
require_once '../Miffos/Library/Html/Table.php';

echo "<h1>Testing class: Table</h1>\n";
/**
 * Experiment with class Table
 */  

/**
 * Create basic table
 */ 
echo "<h2>Create Html Table</h2>\n";
$table = new TableHelper(array("width"=>"100%"));
$table->addCaption("Expriment Table");
$table->setHead("Prvni","Druhy","Treti");
$row = $table->addRow("Jana","Petra","Lenka");
$row->id('row');
$table->addRow(array("Petr","Mirek","Pavel"));
echo $table;
